No, just the opposite actually. Since originally Anakin actually was murdered by Obi-Wan's pupil Darth Vader. At this point Anakin was not a Jedi turned bad who was going around breaking rules, he was a good guy who was murdered by a bad guy, there is no reason to believe he had broken any rules by having a son.