It’s possible, especially when it comes to things like luck or illusion. Most people know that magic isn’t real, but some still tend to fall back on magic as an explanation for a really good illusion.
There is a fine line between holding two beliefs that are in direct contradiction and understanding that something you want to be true is something that you also understand is a misconception, is my point.