Yes, employed income is assessed on a payments basis rather than an accruals basis.
If the money isn't immediately needed, some will sacrifice bonuses into personal pensions and employers will often agree to top the gross payment up with the employers national insurance element. Did it a few times myself.
EDIT: Normally, both employee and employer will want such arrangements documented, especially where they are designed as a retention mechanism. The employee may well appreciate the security of having it set out properly and the employer may want to make any terms and conditions clear for example (1) whether or not entitlement accrues pro-rata during the financial year or (2) whether the bonus is conditional on the employee being still in employment and not working notice and that kind of thing.