Bokoblins can swim, but they tend to avoid water (and any other place that isn't solid ground which makes them difficult to fight in Cadence of Hyrule. Luckily, most Bokoblin locations are on land which is where you should focus your attention when possible.