Yes, you can generally substitute butter for oil in a bread machine recipe. However, keep in mind that butter contains water content, while oil is 100% fat. So, if you decide to use butter, you may need to adjust the amount slightly or consider reducing other liquid ingredients in the recipe to maintain the proper consistency.