Yes, you can. Your car battery will charge whenever the engine runs, regardless of whether you're revving it. However, revving can increase the alternator's output and speed up the charging process.