Not directly, you'd need to convert them to fullworthy JSF components so that you can grab them by their client ID by UIComponent#findComponent(), or to look for a solution in the right direction.
As an indirect solution, you could get them as children of a known parent JSF component. In case of Facelets, it'll be an instance of UIInstructions. But whatever you plan to do with this, this is a nasty approach as it's pure plain text and you'd need to parse the HTML yourself.
In your future questions, I recommend to just elaborate the functional requirement in detail instead of asking how to achieve a solution of which you thought that it is the right solution, but after all isn't.