This is my current 60cm aquarium (15gal) with a lid, I used 3 led beams from a local brand. It's not an aquascape tank but I would consider it heavily planted:

And a previous one, also with lid:
So in my opinion you can perfectly have a heavily planted tank with a lid.
The right lighting is key and of course you'd need to provide sufficient nutrients and co2 if you want the plants to thrive.
The thing with most lid aquariums is the the lights it comes with aren't sufficient for a planted tank and you might have to DIY some better lights in.
I don't know how well puffers tolerate the needed macro and micro nutrition though, wich presumably you'll have to dose for a planted tank.