Data files compatibility Linux vs Windows

Is it possible to move the data files of a Event Store instance between a Linux and Windows server?
Are there any special considerations when doing this?

I am investigating a move to Linux servers to reduce cost. If we can easily switch back using a backup this would make the choice much easier.

Does the latest V5 version work as well on Linux as the latest V20? We currently only have V5 servers but could consider upgrading if needed.