Yes, it is possible to block a phone number on an iPhone using a computer. You can achieve this by using the iCloud website or the Find My app on a Mac. Simply log in to your iCloud account on the computer, navigate to the Settings section, and select Call Blocking & Identification. From there, you can add the phone number you wish to block. The changes will sync to your iPhone, and the blocked number will no longer be able to contact you.