Prevent duplicate accounts by track IP address on frontend canister

I want to prevent duplicate accounts in my bank and Caister for example the same person could create two accounts

So is it possible to try the IP address via frontend in browser to prevent to look at the accounts?

Not sure the content matches the title