Generally, if you write the program yourself, you can start casually.
In project development, the package name is usually determined by the architect at the beginning, and the things in that package are all determined. So you can't do it casually.
As long as the class name conforms to the general code specifications, it is enough. If others read your class name, they will know what it does. There are no other restrictions.