Yes of course, but you need a sms gateway. the owner of an sms gateway will give you an api for connecting to the gateway (usually via email, http request, or ftp).
You then can write some nice PHP applications which get the data out of the database and send them to the gateway.
Best regards,
Andy