Custom module with existing database table

I have requirement to create a custom module and display with records of opportunities module with condition.

How can I do this.Is is possible to create a custom module with existing database table ?