Depends on the lounge.
With airline lounges it is probably impossible. Either you're restricted by opening hours or entrance is restricted to passengers holding same-day departing tickets.
Moreover, I don't see the reason to spend more time at the lounge, than necessary. Sure, it's a nice distraction before the flight. But once you stay for longer periods (>3H), it gets boring rather quickly.