Can one do ghusl at the end of their shower? Or would one must dry themselves up first and then do ghusl?

Yes you can do ghusl at the end of the shower and there is no need to dry yourself.