No, it is not generally against the law for underage people to have a bank account. However, the requirements for opening a bank account as a minor may vary depending on the laws and policies of the country or state you live in.
In many places, minors under the age of 18 can open a bank account with the consent of a parent or guardian. This may require the parent or guardian to be listed as a joint account holder or to provide a signature or other form of authorization.
It's important to note that while minors can have bank accounts, they may have limited access or control over the account. For example, some banks may restrict the amount of money that a minor can deposit or withdraw without a parent or guardian's approval.
If you are a minor interested in opening a bank account, you should check with your local bank or financial institution to find out their specific requirements and policies.