i was thinking about to make a online casino something with dice but not sure is this profitable?
It would be profitable in the long term, though you'd need to take variance into account and have a large enough bankroll to start out.
Limit the maximum win per bet also.