ABSOLUTELY no problem.
If flying LH, there is an excellent transfer desk inside the terminal. If *G, you'll have plenty of time for a nice, warm shower and a decent breakfast in one (or two, or three) of LH's excellent Business Class or Senator lounges.
Enjoy; life's great when you're MR-ing! ^