It's the best way. Minimal risk of data loss resulting from either OS corrupting the partition table.
Worse case, you lose one or the other OS, not both, if something goes wrong in either OS.
I've had Mac OS glitches corrupt a boot camp partition before. Now I keep them on isolated drives.