Asking if this idea is allowed

I will make a app like bank or maybe innvest form, but not high inyerest , every deposit earn 2% per moth bank style , or invest style, deposit earn 2% per day have duratjon 30 days but the capital its alredy froze, this is alllowed ?