Can we dockerize all the applications with versions in docker in ubuntu? If yes then how?

Hi, I am thinking of a weird idea and don’t know if it can work out or not.

But I want to give it a try.

I want to dockerize all of my Ubuntu setup( including all software with versions).

The key idea is that if I need to install the same all software somewhere else then I don’t have to do it individually.

Moreover, I can manage the versions easily. Like I add/remove new software in that container.

Even, if I have the complete OS along with all the applications and somehow I run a single command and everything get’s installed , it will save a hell of time for me and I know same thing would be for others.

Anyone who has done such thing or knows how to do it and guides me to a tutorial will be great.

Happy dockerization
Regards