Sure.
Just paste the YouTube URL into this site.
YouTube to MP3 Converter - Video2mp3 - Converter
Then use a program such as Audacity on your computer to edit the song down to 30 seconds, export as an MP3 and copy that file to the BlackBerry and put it in the Ringtones folder.