@xianc78 I'm not in Scotland but another part of Europe but I think I can anyway safely confirm that what you heard is bullshit. The place where you found that must have a really twisted view of Europe.
Of course people do what they want in their own home, many are religious and then of course they pray if they feel like it.
Why would anyone want to make that illegal anyway?
(There can maybe be laws around what religious things are allowed in schools, I don't know how that is in Scotland.)