Drivers have been hit with parking charges while queueing for petrol pumps in a possible breach of consumer law, the competition watchdog has said.