Maybe.
I worked for Mobil Oil in the flight department back in the 1980's and early 1990's. I flew with some of the best engineers and this discussion was a common one.
One fact that people tend to miss: The building blocks of the solar system consist of absolutely huge quantities of hydrocarbons. All of the planets have Methane in large quantities. Saturn's moon Titan has methane lakes, ice and clouds! Pluto's dunes are methane. Of course, hydrogen is the most common, and carbon dioxide is common too. So, it's no surprise that the Earth contains large quantities of methane.
The common belief is that biological mass combined with "Time, Heat and Pressure" created the hydrocarbon fuels we now have. The engineers above speculated that there may be additional factors that involve the building blocks of the solar system, including hydrogen and methane.