Yes, you can still message. Whatsapp uses your number as an ID for itself, it doesn't detect your blocked number from the phone, so if someone has blocked your contact number, Whatsapp has no way of knowing it. The person also has to block the number in the app separately.