You can yes. VLC & presumably GOM also are independent programs. And all the codecs are self-contained within the program itself.

For example if you wished open videos with VLC, you can right-click a video file & choose open with, select VLC & check option to always open with.

That would then make VLC the default to always open that kind of video file.