Upvote:3
Probably not.
Lufthansa Rules are notoriously complicated and at the moment there doesn't seem to be anything published officially. At least I couldn't find it.
A recent trip report that was a similar case was denied access, since lounge access through class of service is determined by the departing ticket, not the arriving (or the whole itinerary).
https://yourmileagemayvary.net/2022/04/23/why-not-allowed-luftansa-lounge/
If this is on a single ticket you can certainly walk up to the counter and ask. See what happens. If these are two separate tickets, the answer is no.