Can we substitute chocolate chips with cooking chocolate in recipes?

For example, if the recipe askes for 3 ounces of semi sweet chocolate chips, can we use 3 ounces of semi sweet cooking chocolate or if it asks for unsweetened chocolate chips can we use unsweetened cooking chocolate? I’m asking in the case when you have to melt the chocolate chips, so it’s not like [...]