Using Arduino to read RPM in car

I am interested in the project.
Can we implement the ELM327 function on the Arduino?