That's deeply unwise. Nothing you cobble together yourself using a raspberry pi is going to be up to automotive safety standards.
Anyone who sets up one of these has nobody but themselves to blame when it misbehaves and gives them incorrect information, or no information, or starts flickering distractingly, and they get done for speeding/hit a pedestrian/fail whatever inspections the law requires in their part of the world