Can I automate test over 2 platforms?

You can use RemoteLibraries with RobotFramework, so that you can connect a library running on another machine to you robot.

So robot can run on Windows and a few keywords are executed on a Mac.