Deploying nested structure of containers on bare metal

Most certainly, what you’re looking for is nested containers.

https://ubuntu.com/blog/nested-containers-in-lxd

For extra security you might also want to have the first level to be VM’s instead of containers:

This way your users will be a lot more isolated from the bare metal machine.