Target Items by #Category

Is there any way to target all items of a category that are on the ground? like smth similar to /execute as @e[type=item,nbt={Item:{id:#boats}}] run say hi

Continue to help post