Cricket has the advantage of being largely objective. The ball touched the bat or it didn’t. The ball pitched in line or it didn’t. The batsman made his ground or he didn’t. When the tech fails, like spotting if fingers are under a grounded ball, then you still get controversy.
Football has so much subjectivity in the rules that developing a simple system for it is hard. What is a fair tackle, what is excessive force, what is interfering with play, what was a goal scoring opportunity?
Shrink the penalty area to 12 yards, any foul in the area leads to a direct free kick from the nearest edge on a line from the centre of the goal through the location of the foul. No players allowed in the box except the keeper.
If you foul a player front and centre it’s a slightly harder penalty. Foul them by the touchline and it’s a short corner pretty much, far fairer punishment for the location of the foul.