According to my experience banks in EU usualy don't ban buying of crypto currencies including Bitcoin but most of them see such transactions as a potential risk and because of that you might not have a good credit score and bank could deny to you some of their services like loans or bigger limit on credit card.
I know that my banks tags crypto transactions as well those on gambling sites as a big risk and doesn't like such clients.
In my country, banks would even turn your account to dormant mode if they suspect any of the incoming or outgoing transactions to be connected to or related to cryptocurrencies, they would even confiscate your funds if there are any and ask you for proof for them to release the funds and open your account, and the proofs that you submit should also not indicate or show anything related to cryptocurrencies because if it does, they will be sure that they were right and you are involved and then your account won't be unblocked.
So if you have a bank account here and you don't want to face any problems, you should avoiding mentioning anything about cryptocurrencies in front of bank officials or anywhere in your mobile banking app, online banking, or when you are visiting a branch for any reason.