Hello Gilles,
Yes, we can configure primary/backup VPN in SRX and route failover is supported with IP monitoring feature.
[J/SRX] Example – Configuring a primary and backup VPN with route failover using ip-monitoring
https://kb.juniper.net/InfoCenter/index?page=content&id=KB29227&cat=SRX_650&actp=LIST