It would be unwise and counterproductive to intentionally annoy or harass a colleague. While occasional joking between coworkers can build rapport, targeting someone specifically when they are away could undermine workplace relationships and productivity. The best approach is to treat all colleagues, whether present or not, with respect.