It depends on the filtration, you need to feed live baby brine or an absolute ton of pods daily for them, they will seriously consume way more than you think possible so I would plan on feeding bbs. But in order to keep both the brine shrimp in the water and the seahorses from getting sucked in, the filter needs to be relatively gentle and intake covered with a sponge. Most people use sponge filters for that reason but I’ve seen other types used with success too, it’s all just a matter of keeping food suspended in the water for them nearly constantly and in a relatively high concentration as they will just sit in one spot and wait for it to come to them, if it’s just a couple millimeters too far out of range they will starve lol. And that size tank would be plenty for a little group of dwarf seahorses, because as I mentioned earlier the food needs to be fairly concentrated, so once you go too big they just cannot get to their food which will of course kill them, but at the same time since it’s got to be so small you need to keep a close eye on water parameters because that can also very easily kill them. Very fun fish if you do it right but they need some very specific conditions and to be watched carefully.