Having the United Kingdom is orthogonal to them being monarchies. Australia and Canada are independent, but also monarchies (
https://en.wikipedia.org/wiki/Monarchy_of_Australia,
https://en.wikipedia.org/wiki/Monarchy_of_Canada), so, presumably, Scotland and Wales could choose to do the same.