Let's say you have regretted that you didn't read books before, as a result you have a very minimal understanding about life at your present state. And you say:
If only I had read many books before, I would have learned more about life by now
*a regret in the past that has a result in the present.
Is this a correct usage of modal verbs?