Observation of piezoelectric-like behaviour in coherently strained B-doped heterostructures