This is likely limited simply by the value of the database field for the like count. Flarum uses an INT field for Likes, which has an unsigned (basically meaning no negative values are allowed) capacity of 4,294,967,295. That's roughly 4.3 billion Likes that a single post could have.
Let us pray we never see that.