Can OLS regression be used to predict from a complete sequence of data?
Ordinary least squares (OLS) is an optimization method to find the best parameter estimates for linear regression, gradient descent is another.

Regardless of the specific optimization method, linear regression is not appropriate for predicting sequence data. Generally, time series methods are used to predict sequence data.