Making money under false pretenses has always been illegal. But, what the heck, go for it!
But if it assuages your conscience, the money could be kept in escrow until the prank is revealed, and then refunded.