Exactly! OOP does not mandate the use of inheritance. In fact, you should use composition or aggregation where it is appropriate in your program.
You should not try to avoid inheritance, nor should you immediately jump to it. Use it as appropriate. These are programming tools: always use the right tool for the job.