I'd say yes(ish), but with some caveats. It would be a very rare occurrence where everything would have to be just so. There are a number of integrations of the scenario that have been done, such as in this paper: https://onlinelibrary.wiley.com/doi/abs/10.1002/asna.200710789
or this one:
https://ui.adsabs.harvard.edu/abs/2005CeMDA..92..113E/abstract
There's also the question of how these planets would form in the first place, as capture is hard to imagine taking place. Here there is a simulation of that which has been done, but it shows that the process seems to top out at planets 0.6 times Earth mass (which at least is big enough to be habitable in principle):
https://www.aanda.org/articles/aa/abs/2007/07/aa6582-06/aa6582-06.html
One caveat is that the stability conditions for trojan/co-orbital bodies drastically decrease the more stuff you have in the same system, which is probably why our own system more closely follows the rule of thumb mentioned on Wikipedia, where the trojan bodies should be of asteroid proportions: https://en.wikipedia.org/wiki/Trojan_(celestial_body)#Stability
Also when I've tried putting a Jupiter sized planet with co-orbitals into an N body simulator, I found that adding in moons for the Jovian tended to disrupt either the moons or the trojans. I could only get around this by making everything smaller.
So the answer is yes but the caveats are that the co-orbitals might be limited to a bit over half the mass of Earth in terms of formation, and if there are a lot of other large bodies in the system, like other gas giants, the maximum mass for stable long term orbits goes down exponentially. You're looking at a quite empty system probably apart from the gas giant and its co-orbital planets and these will likely be smaller than Earth, under the rare scenario of them forming.