A police station in Sydney's west has reportedly been the target of an attempted attack by a man who drove into the station with a car full of gas cylinders.

The man drove into the station's car park and tried to set himself alight, according to media reports.

A witness, who did not want to be named, told AAP several police squads and emergency crews have surrounded the building on Thursday night and numerous people saw a figure being taken away from the scene on a stretcher.