Quoted By:
It's not legal. There may be a chance of passing it off as a parody, like the other anon said, but it's kinda hard.
I don't think it matters. As long as you aren't getting rich, Japan is ok with a bit of money going off, that's why they sell doujinshis in their libraries.