Hi @ananda ,
Unless you plan to use RPA or serverless functions to achieve this, the short answer is probably "no".
Indexing in SharePoint is done according to a schedule and is typically incremental as performing an initial index is heavily resource intensive, and manual re-indexing is typically used to incorporate new schema changes, not to refresh the index.
As I'm sure you're already aware, forcing a re-index comes with the following caution,
"Reindexing a site can cause a massive load on the search system. Don't reindex your site unless you've made changes that require all items to be reindexed."
I'm not aware of any SPO REST API methods that will allow you to trigger this programatically, but this might perhaps be an avenue of research for you.
The last approach may be to use RPA to do this, but again - heavy caution.
As per @365-Assist 's response, perhaps sharing what you're trying to achieve and why might open up other avenues of exploration?
Kind regards,
RT