Is this a cross-leased situation where you own the building but all the flat owners own the land jointly or do you mean you lease the whole property?
If cross-leased you only need to worry about the local by-laws regarding nuisance to other people in general. This can change between different districts.
If leasing the whole property you will find any restriction in your lease contract.
Whatever, you will be best advised to discuss this with your direct neighbours first and then make up your mind. You will probably have to live with those neighbours longer than the dog and it is always a lot more pleasant to get on well with them.