Certainly. Most bash commands can be run after the run command.
Kinda depends on the image, but you can physically get on the container and look, as well.
or docker run -it apt list --installed (this is for a linux container that has ubuntu which uses apt package manger)