Using OpenSearch as Primary datastore

We are designing application where millions of records will have to be stored and it scales hugely every year. Search performance is high priority and there will be mostly read-only operations. Whether OpenSearch can be used as Primary database for millions of records. Or it is recommended to use Opensearch only as Search engine and have a relational or nosql db as data storage.