Upvote:14
If these are two separate tickets, the answer is definitely "NO"
If this is a single ticket, I assume its Lufthansa (since you are going though Frankfurt). This answer would be "highly unlikely". Maybe if you have a full fare first class ticket you may be able to talk them into an accommodation. There is only one airside hotel in Frankfurt https://www.frankfurt-airport.com/en/services/hotels/my-cloud-transit-hotel.html and I don't think they have an arrangement with Lufthansa. For any other hotel you need to leave the transit area which requires a Schengen Visa.
Things are little different if your itinerary was initially shorter and got padded due to a cancellation or schedule change, you may be able to score a hotel or meal voucher.