If you have the resources to spare, you can do much better than replicating James Webb style telescopes. See eg https://en.wikipedia.org/wiki/Solar_gravitational_lens