You will probably be able to make it run on a steam deck by adding it as an external game to steam then running it with proton.But that's not guaranteed at all.
now i don't know the specific details but i assume you are using unity?
if so can't it export to linux? (which then works on steam deck natively)
File -> Build Settings -> PC, Mac & Linux Standalone.