Yes, you are allowed to trim the branches to the property line only

Fadlan gal si aad u soo dhigto jawaab.