The texture and flavor of the white chocolate will be different, but it can work. If you are chunking it up into cookies, or something along those lines, it will not mess up the recipe.
Real White Chocolate will have cocoa butter listed in the ingredients. Since it doesn't contain cocoa beans it isn't "offical chocolate" but it does have some cocoa butter in it.