It’ll be able to do it but won’t be as enjoyable as an xc hardtail etc. Jump bikes are made strong and heavy which is great from a durability standpoint but they’re a bit pig ish when riding longer distances. The other thing is that it’s hard to tell from the pictures but a lot of cheaper dj’s that come with gears have horizontal dropouts which make using a derailleur an annoying endeavour.
If it’s more trail centre routes that she’ll be doing then in my opinion getting a more well rounded bike, maybe with hydraulic discs rather than mechanical which can easily be found for a similar price, that’s a more jack of all trades option is better. How old is she?
A more rounded hardtail would still be good for smaller jumps/drops in skills area etc and be a lot easier going/more fun on blue and up xc type stuff. The one area I can’t really advise is on alternatives as I haven’t been in the entry level hardtail market for 3-4 years but my first xc hardtail did everything from grizedale paths to pyrenees lift assisted dh resort runs with some upgrades over the years. Biggest I ever went on it was a 30ft jump, maybe 10ft high to flat by which point I moved onto a full suss.