certainly possible, but you probably need a bit more information.
this example here, you could adapt, and is assuming there is an identity/primary key to the table.
If you can install CLR on a database, i personally use a version of Elliot Witlows Common Language Runtime example he published here:
http://nclsqlclrfile.codeplex.com/
--MSPSaveFileImage
-- Parameters: @FilePath,@FileName,@FileBytes
-- purpose: given an varbinary image column in a table, write that image to disk
-- usage:
--assumes table and the file from the example above for dbo.MFGetFileImage exists already.
declare @myfile varbinary(max)
SELECT @myfile = rawimage FROM myImages WHERE id = 1
EXEC dbo.MSPSaveFileImage 'C:\Data','spinning.gif',@myfile
Lowell