No, it is not a good practice, don't do it.
One never knows how the "earth", "chassis ground", "signal ground", "common", or "negative" rails are all inter-connected between different boards and circuits. You most likely will have sneak paths thru one of them.
I could tell you many horror stories, I've seen amplifiers whose current returned thru an audio cable which overheated and caught fire; but the latest I saw was a sneak path thru an USB cable. The cable evaporated, and both the computer and test equipment were damaged.