A recommended setup would include impedance matching and voltage matching (line/mic) there’s not a risk of damage but for cleaner recording and less noise you should use direct boxes between XLR and TS connections. Look into re-amp boxes and DI boxes. For for the best results.