yes, you can control the image quality of resized image. You have to use the jpeg_quality filter control the image quality. You need to provide the integer number to control the quality.
100 = is the default quality range
70 = is the good range
function wp297_image_quality() {
return 80;
}
add_filter( 'jpeg_quality', 'wp297_image_quality');
Note - Do not use the quality range below 70, it may generate the poor image quality.
Take look to documentation - https://developer.wordpress.org/reference/hooks/jpeg_quality/