Local and cloud nodes

Is it possible to have a cloud(aka dedicated vm) and a local instance in same cluster?? I will have comms via zerotier.
Then another question the application runs on both cpu and gpu if availible??? can one use both nodes in same cluster aka one has just cpu and other has gpu??