Unfortunately no. You can't block someone temporarily. If you block someone, all of the contacts on Facebook and messenger will be terminated. Blocking someone while keeping them on a friend list is not possible. However, you can manually unblock them.