but I am also aware of the risks of investing in bitcoin, but I personally am ready for the risk of investing in bitcoin.
I want to know your opinion?
I don't see anything wrong with it. There are some things that you might wanna consider.
Since you already said that you are aware of the risk of it, I guess you're good to go.
As long as you will not lose your private keys that holds that Bitcoin or if you will not lose your hardware wallet in the span of probably 1-2 decades then I think there's nothing wrong about it. With this, you believe that Bitcoin will rise in value in the next 5-10 years.
As for me, I already allocated a specific amount of Bitcoin that will be intended for my future child (I still don't have a child currently, but the earlier the better:)). Anyway, my opinion or suggestion for you is that, maybe you might wanna try to diversify into different assets like in dividend stocks if you are just doing it for your child. After all, the dividends that you can get into those stocks will help you in either your expenses or in your investment if you wanna re-invest it.