yes there even is an academy course for this: Project Organization in Studio
Also check out Project Organization in UiPath Docs
and the threads in this Best Practice “Wiki”: UiPath Best Practices wiki
For use cases with a lot of data/variables you could consider using UiPath Data Service.
Personal advice: find a Work Breakdown Structure that works for you and your team. Document, annotate, comment, rename as you build your automation, don’t procrastinate it until the end of the project and try to avoid nested activities (sequence in an if activity in a for each activity in an if activity), better use flowcharts from the get-go. Then, if you’re done - do it again. You’ll find your individual style with a lot of practice.