As far as I'm aware, there's no strong link between motivation and generics.
[1]https://psycnet.apa.org/doiLanding?doi=10.1037%2Fpspp0000224
[2]https://www.sciencedirect.com/science/article/pii/S014976341...
[3]https://link.springer.com/article/10.1007/s11109-017-9429-1
The two are inextricably tied. How you think about yourself and your world is based on how you experience it, which is rooted in your genetics and how you were (and weren't) taught to experience it.
We at least learn to motivate ourselves based on how we're taught to do so through the cultures the people around us carry. If some of that is informed by genetics, then it's possible for you to learn to motivate yourself based on someone else's genetics.