Personal opinion. As an Asian person, don’t overthink this. Just have fields for family name and given name to distinguish between the two. Sure, when there’s a text field saying hello “first name last name” it might be flipped but this shouldn’t be a deal breaker or offensive in any capacity. Worst case is you can have a toggle they can click but from a developer standpoint, that might be over engineering for someth…
Im considering having a select field next to the name something like
Name Order: "Western style", "Eastern style"
or
Name Order: "Given Name, Family Name", "Family name, Given Name"
With a bit of extra work I can detect the country set a default for this field, while allowing users in places like Pakistan to still get the display order they want.
But I've never seen it done this way before, hence my curiosity to ask everyone.