How do I stop my iPhone messages from appearing on my Mac?
No. Opting out of message delivery on one device (Mac or iPad) doesn't change delivery to the iPhone. 


Go ahead and disable handoff if you don't want that enabled. 
go ahead and sign out of messages on the Mac if you don't want that enabled.