You could make an opening on one end and a dovetail groove down the sides and across the other end but the corners will be rounded. You could round the end of the lid to match but it will be a bit tricky to keep the dovetail around it uniformly. That's one issue you'll need to consider with your build, how will you do it and will it be worth the effort.
Someone I consider a master woodworker once told me that a master woodworker is not someone who never makes mistakes. He is someone who is able to cover them up so that no one can tell.