Is this pipe layout acceptable?
Well, it's certainly not pretty. But going to a floor drain rarely is, unless the drain happens to be positioned remarkably conveniently.

An alternative would be to drain into a small container with a pump, whose output could be routed as needed. That's what was done in my house. This does require providing power to the pump, of course, but since I have a condensing boiler it actually has an outlet for that pump built into it.