I’d be cautious about planting raspberries near them as after a while the raspberry suckers would push up through the apple tree roots. As well as being difficult to remove they would presumably compete for water, nutrients etc.
Something shallow rooting should be fine once the espalier are established. It depends upon how favoured a position they’re in and how well they’re doing as to how soon you can plant round.