Question about using docker to run older browser versions securely

I am new to Docker but am beginning to investigate a use case. Can you help?

I want to have several different desktop browsers with different plugin’s running, these browsers are now long out of date but I am running important applications that need them on older versions.

Can I use docker containers to run these older versions securely and maintain them at a consistent version / build?

If so, how might I best accomplish this please?