Repository and DAO Patterns may cohesist, and as you already did, Repository istances will use DAO implementations for CRUD DB operations.
However, "it depends", as usual; I suggest you to read some articles on the web to make your own opionion on this usage, relying on the complexity of your domain and application.
A first starting point can be this https://www.baeldung.com/java-dao-vs-repository and this What is the difference between DAO and Repository patterns?