Whatever you build, the top will have to swing up or be removeable for watering, maintenance and to let excess heat and moisture escape. A hinged lid is handiest as you can prop it open at any height you want.
I think you will discover the lid will be off more than its on.