It's transparent to the application, so there's not technical reason why it wouldn't work.
Depending on the where/how your tunnel is going, you are almost certainly going to see some network performance degradation, how much will depend on a lot of factors.