No, you can't limit the number of rows in a table in MySQL. There is an option max_rows, but that does not limit the number of rows to that, it simply ensures that the table structure can hold at least that many rows (often, it enables it to contain far more).
You should handle this at the application layer.
Ok, technically you could place a trigger on there, but don't do that, it smells.
Mark