Dear @HMSEdinburge ,
Yes, you can use 8MHz crystal for the HSE ( main Oscillator) for STM32767 MCU and having USB Function. it is even better if using internal Bootloader.
25MHz is used for Ethernet Usage to have either MII or RMII clock on board, if not the case. 8MHz is enough for USB and all system clocks. In fact, the PLL and pre-scalers will do the right settings to have the selected frequency up to 216MHz .
See Table 94 : Introduction to system memory boot mode on STM32 MCUs - Application note for Internal bootloader requirements and the Note at the end.
Hope it is helping you.
STOne-32.