Found a way to use gamescope with Heroic launcher on flatpak.
Instead of putting: gamescope [arguments] in the wrapper section, instead you would do: /usr/lib/extensions/vulkan/gamescope/bin/gamescope [arguments]. You just need the gamescope vulkan layer installed on flatpak....