No. You have the right to plant what you want, where you want within your property. However, it is sensible and neighbourly to consider the consequences of planting potentially large or imposing trees or hedges close to a boundary and make planting decisions to minimise negative impact.