False, it is only found in Sedimentary Rock laid down from the surface. It is always found with microscopic fossils and other biotic material.
There is not any commercial oil production outside of sedimentary basins.
That may sound too deep for you. But oil if found from ancient sea floors. 1 inch compacted sediment per thousand years for 400 million years is 6.3 miles deep.
Oddly enough we have some production from Volcanic rocks. This production comes from sills (volcanic intrusions into surrounding rock. Some of these sills intruded into sedimentary rock that are oil bearing. The oil then migrated into the porous sill and is produced from the volcanic rock. Thus the origin of the oil is sedimentary but the production zone is volcanic.