It's currently possible to assign an employee to work in the EEA temporarily, and keep them on the UK payroll, paying UK social security.
Using the A1, form / CA3882
We're doing this for an employee - for 3 months. As they're working from home anyway, it makes no bones to us if they are based in Germany.
But does anyone know if this is affected by Brexit