Absolutely, though you may not feel like it. Other than the light bleeding that some women experience after intercourse in the first trimester, having sex during pregnancy is risk-free. While some women in early pregnancy feel too nauseous and exhausted to be interested in intimacy, others find that the surge in hormones actually increases their libido.
In late pregnancy, the changes in your body may make having sex uncomfortable and require some creative positioning. But if you’re up for it, go ahead. Sex during pregnancy is perfectly safe, and your baby will be none the wiser.
I hope that helps, please post any questions you might have!