The first thing I thought about this issue was that cooked fish bones will be safer than raw ones because they will be softer.
However cooking them first would not make them softer.
It is likely that cooking fish bones will make them harder and more dangerous just like cooking rib bones from pigs or cows.
Cooked bones have a higher chance of breaking or splintering when they are chewed by dogs.