Yes that's possible. Your usage should work perfectly fine or at least "Text here" should be displaying; can't speak for the image as the path might be wrong.
Be sure to replace the 2 with the usergroup id you want to check against. Default Joomla registered usergroup id is 2 so that should work for any user with the Registered usergroup. This also works with view access levels as shown below.
Usergroups:
[cb:if usergroup includes "2"]I have Registered Usergroup[/cb:if]
View Access Levels:
[cb:if viewaccesslevel includes "1"]I am Public[/cb:if]
Try both of the above and see if they output their text. As for your image it may just be a pathing problem. Be sure the path to your image file in src is correct. It's worth noting we don't do anything special here. We simply take what you've supplied, run it through substitutions, and output it. So nothing beyond normal valid HTML is necessary.