I am not familiar with Heroic, but maybe someone else knows. This version of dosbox is for windows only, and I don't know if it is possible to run it with Wine or similar.
When I buy DOS games from GOG, to play on windows, it is usually not a problem to locate the bundled dosbox.exe and replace it with my modified one (just rename it)