It depends on the recipe. Some recipes may call for a specific type of apple because of its flavor, texture, or moisture content. However, in many cases, you can use different types of apples interchangeably.