You can do as many raids as you want continuously without triggering cooldown. You need to be off of your previous cooldown and you can't throw a berry or ball to the raid boss after the battle. You have to hit run and move to the next raid no matter where it will be. The point of speed raids are usually to find a shiny or a certain IV.