Is it ok to answer only the day of the month to the question "今天几号?"?
Yes, it totally makes sense to answer only the day since the question is asking for the day only instead of month and day.

If one is asking for month it would be something like: 今天是几月几号？