I don't think it's nonsensical :)
There's a certain level of fake it till you make it, or even "gaslighting yourself" that you can do. Sometimes pretending that you're interested in something (and actively trying to justify it for yourself) is enough to make you grow interest. You can also look for the aspects of the topic that interest you to motivate you to learn the bits that aren't, with the logic that you can't get better at the interesting bit without also learning the less interesting bit.
Other times, especially if you have a choice to try something else, it's better to try something else and see if you can get into it more easily