You can create an SVS file, but it's not easy. Aperio's SVS file is really a TIFF file. But it applies some parts of the TIFF standard wrong, so it's a TIFF file with errors.
LibTIFF will not output a file identical to an SVS. It simply refuses to do things wrong. So if you want to write an SVS file, you'd have to either write a correct TIFF file and then tweak some of the tags after the fact, or write the incorrect TIFF file manually (i.e. figure out which bytes to output in which order, following the SVS specification). Neither of these is easy to accomplish, and you should be well versed in the TIFF standard and binary file manipulation before you attempt this.
On the other hand, unless you are trying to fool someone with a fake SVS file, you really shouldn't need to do this. Most software tools that read SVS files also read compliant TIFF files. I would suggest writing your image out as a tiled, pyramidal TIFF file and seeing if that works in your application.