Methanol can be found as gas line antifreeze, at paint supply stores, and chemical supplies.
Read the link Sloegin provided, it's informative.
Ex g/f's old Grand Am with Quad 4 was fussy, and before I discovered the knock sensor was disconnected, I put together about a litre of a mixture of methanol, isopropyl alcohol, toluol (my main ingredient, similar to toluene) and ATF. Dumped this in a fairly full tank.
I found it worked very well reducing knock, which was half my goal. Also wanted an injector cleaner.
In theory, something with different chemistry than gasoline should work best for removing gasoline deposits, hence the alcohol & toluol. Most commercial (cheap) injector cleaners main ingredient is just kerosene, and some have ATF notable by colour & odour.
Standard disclaimer: Follow my example at own risk.
EDIT: Methyl alcohol (methanol) can also be had from hot rod & race shops. May cost more though, and/or you may have to buy a drum of it.