Well if, and that's the key word here, the thoughts lead to actions then the actions are clearly criminal and vile and it makes the person who acted on them a rapist and child abuser. Obviously I don't think that's ok.
If the thoughts are part of a roleplay with a consenting partner then while I personally find it…