Can I have a good life even if I can never act on my sexual attraction?
Even if you have sexual thoughts about children that you can never or must not act on, you can still have a good life. Remember that your sexual thoughts do not define your whole being. Your sexuality and your identity are two different things.
We know that there are a lot of extra challenges when you are in the situation you may be in. Creating a good life where you are not a danger to yourself and others requires a lot of control and belief that it can work. Many people with sexual thoughts about children live a good and satisfying life, completely without acting on their worrying sexual impulses. You also have that option. It requires effort on your part, together with support from others, such as professionals, friends, and family.
There are many skilled therapists who can help you to have a good sex life with peers, even though you may still have sexual thoughts about children that you are not acting on.