Yes, that is a fine way to do it. The response will be slowed by the amp's slew rate as it saturates to the far rail when inactive (this takes ~10us for a typical general-purpose (couple MHz, couple V/us) amp), but those signals sound quite slow (even ~ms would be fast) so that's fine.
Be sure to check that the op-amp tolerates voltage between its inputs. Some amps use back-to-back diodes, and you have to read pretty far into the datasheet to find them -- they might be current-limited with internal resistors so that the pins themselves still achieve rail-to-rail ratings (i.e. one tied to +V, other -V) but they're drawing huge current (~mA) in the process.
Even an LM358 is likely fine here.
I would however be much more concerned about the EMC and thermal environment, in an automotive context. Where will this be placed? Will it be within a larger module, behind filtering and shielding? Will it be placed in the engine bay, near (or on!) hot materials?
Tim